More tweaking of HTML generation.
authorrobertl <robertl>
Tue, 4 Nov 2008 23:19:01 +0000 (23:19 +0000)
committerrobertl <robertl>
Tue, 4 Nov 2008 23:19:01 +0000 (23:19 +0000)
Makefile.in

index f438c0d64cd29241c2190b39a9aecd55f03bce34..2cae15297cbc3039891e4c4368d59e9efa75a529 100644 (file)
@@ -224,15 +224,15 @@ gpsbabel.pdf: gpsbabel.fo
        cp gpsbabel.pdf $(WEB)/htmldoc-$(DOCVERSION)/gpsbabel-$(DOCVERSION).pdf
 
 
-gpsbabel.html: FORCE
-       rm -f gpsbabel.html
+gpsbabel.html: FORCE gpsbabel
        perl xmldoc/makedoc
        xsltproc \
+         --output $@ \
          --stringparam toc.section.depth "1" \
          --stringparam html.stylesheet \
          "http://www.gpsbabel.org/style3.css" \
          http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl \
-       xmldoc/readme.xml > $@ || rm $@
+       xmldoc/readme.xml
 
 readme.txt: gpsbabel.html
        lynx -nolist -dump gpsbabel.html  > $@